---
name: meeting-prep-memo
description: >
  Use this skill whenever the user asks to prepare for a client meeting, generate a
  meeting prep memo, or create a pre-meeting summary for a client or household. Trigger
  on phrases like "prep me for my meeting with [client]", "create a meeting prep for
  [name]", "I have a meeting with [client]", "pull together meeting prep for [household]",
  "get me ready for [client]'s review", or any request that combines a client name with
  an upcoming meeting context. This skill orchestrates data from three sources: Zocks
  meeting history, the Orion accounts spreadsheet, and the RMD spreadsheet — and
  produces a structured Meeting Prep Memo document. Always use this skill in Cowork
  when meeting prep is requested; do not attempt to do this ad hoc without the skill.
---

# Meeting Prep Memo

Produces a structured Meeting Prep Memo as a Word document (.docx) by pulling data
from three sources:
1. **Zocks** — meeting history, client background, open action items
2. **Accounts spreadsheet** — household accounts, registration types, model assignments, fee schedule, current values
3. **RMD spreadsheet** — accounts with required minimum distributions (if any)

**Dependency:** Before writing any code to produce the .docx file, read the `docx` skill
for document creation mechanics, table formatting rules, and critical constraints.

Output is a formatted memo document saved to the Cowork filesystem.

---

## Data Source Locations

- **Spreadsheet folder:** `~/Claude Cowork/Orion Performance Data/`
- **Accounts file:** The spreadsheet in that folder containing columns for account name,
  account type/registration, model assignment, fee schedule, and current value.
  Filename may vary — scan the folder and identify it by column structure.
- **RMD file:** The spreadsheet in that folder containing a list of accounts with RMD
  requirements and amounts. Filename may vary — identify by RMD-related column headers.

---

## Workflow — Follow This Order Exactly

### Step 1 — Identify the client

If a client name is present in the conversation, use it. Otherwise ask:
> "Which client would you like me to prepare for?"

### Step 2 — Read the spreadsheets

Before touching Zocks, read both spreadsheets from `~/Claude Cowork/Orion Performance Data/`.

**Identify the household:**
- Scan the Accounts spreadsheet for rows matching the client's name
- Display the household name(s) and household ID(s) found and ask Neal to confirm
  the correct one before extracting any data:
  > "I found the following household(s) matching [client name] in the Orion data:
  > [list name + household ID for each match]. Which household ID should I use?"
- Do not proceed until Neal confirms. Use the confirmed household ID to filter
  both spreadsheets consistently.

### Step 2 — Read the spreadsheets

Before touching Zocks, read both spreadsheets from `~/Claude Cowork/Orion Performance Data/`.

**Identify the household:**
- Scan the Accounts spreadsheet for rows matching the client's name
- Display the household name(s) and household ID(s) found and ask Neal to confirm
  the correct one before extracting any data:
  > "I found the following household(s) matching [client name] in the Orion data:
  > [list name + household ID for each match]. Which household ID should I use?"
- Do not proceed until Neal confirms. Use the confirmed household ID to filter
  both spreadsheets consistently.

**Accounts spreadsheet:**
- List the folder contents first to identify the correct filename
- Filter all rows to the confirmed household ID
- List every account in the household, noting the Registration ID for each account
- Group accounts by Registration ID — some Registration IDs may contain multiple accounts
- For each Registration ID:
  - If a single account: list the account name, registration type, model assignment,
    fee %, and current value as one row
  - If multiple accounts share the same Registration ID: summarize as a single row
    using the Registration ID/type as the label, sum the current values across all
    accounts in that registration, and note the model assignment and fee % (if
    multiple different models exist across accounts within the same registration,
    display "SLEEVED" in the Model column and apply yellow highlight shading to
    that cell in the Word document; if fee % differs across accounts, flag it)
- Final row: Total AUM = sum of all account values across the household
- Carry the Registration ID groupings forward — they are the basis for the RMD
  aggregation in the next step

**RMD spreadsheet:**
- Identify the correct filename by column structure (look for RMD-related headers)
- Filter all rows to the confirmed household ID
- List every account in the household, noting the Registration ID for each account
- Group accounts by Registration ID — some Registration IDs may contain multiple accounts
- For each Registration ID:
  - If a single account: extract Account Name, Account Type, 12/31 Value, RMD Factor,
    YTD Distributions; calculate RMD Amount = 12/31 Value ÷ RMD Factor;
    Amount Remaining = RMD Amount − YTD Distributions
  - If multiple accounts share the same Registration ID: aggregate into a single row —
    sum all 12/31 Values for that Registration ID, sum all YTD Distributions,
    calculate RMD Amount = combined 12/31 Value ÷ RMD Factor,
    Amount Remaining = RMD Amount − YTD Distributions;
    list the Registration ID/type once, not once per account
- If no rows found for this household ID, note "No RMDs on file"

**Cross-spreadsheet validation:**
Before proceeding to Zocks, confirm that the household name and ID used to match
the client in the Accounts spreadsheet is consistent with the match in the RMD
spreadsheet. If the two spreadsheets use different identifiers or name formats for
the same client, surface the discrepancy and ask Neal to confirm the correct
household before extracting any data.

Use the Zocks MCP connection in this sequence:

1. `contacts_search_contacts` — search by last name first; try full name if no results
   - If multiple results, present disambiguation list and confirm before proceeding
   - Capture `contact_id`

2. `contacts_get_contact_details` — use `contact_id` to retrieve full contact record

3. `meetings_list_past_meetings` — retrieve meeting list for this contact
   - Pull the most recent **5 qualifying meetings**
   - Prioritize: Annual Reviews, Client Meetings, Financial Planning Meetings,
     and any direct client interaction (calls, check-ins, strategy sessions)
   - Skip internal-only or administrative entries
   - Note `meeting_id`, date, and meeting type for each

4. `ai_results_list_results` + `ai_results_get_meeting_summary` — pull AI summaries
   for the most recent **3 qualifying meetings**

5. `meetings_get_transcript` — only if an AI summary is missing or unusably thin

### Step 4 — Synthesize and write the memo

Using all data collected, produce the memo in the exact structure below.

---

## Memo Output Structure

Produce the memo as a clean document. Use the following structure precisely — do not
add, remove, or reorder sections.

---

```
MEETING PREP
Client: [Full client / household name]
Prepared: [Today's date, formatted as Month DD, YYYY]

─────────────────────────────────────────
Account Summary
─────────────────────────────────────────

[Table with columns: Name | Account Type | Model | Fee | Current Value]
[One row per account, sorted by account value descending]
[Final row: Total Assets Under Management: $[sum]]

─────────────────────────────────────────
RMD Summary
─────────────────────────────────────────

[If RMDs exist for this household:]
[Table with columns: Account Name | Acct. Type | 12/31 Value | RMD Factor | RMD Amount | YTD Distributions | Amount Remaining]
[One row per registration ID — aggregate multiple accounts sharing the same registration ID into a single row]
[RMD Amount = 12/31 Value ÷ RMD Factor; Amount Remaining = RMD Amount − YTD Distributions]

[If no RMDs on file:]
[Leave this section blank — include the header but no table]

─────────────────────────────────────────
Personal Background & Talking Points
─────────────────────────────────────────

[Source: Zocks meeting summaries and contact details only. This section captures
who the client is as a person — not their financial plan. Focus on relationship
context, personal interests, family dynamics, and conversation touchpoints.
Include only subsections where actual content exists in Zocks. Do not invent
or infer details not present in the data.]

Career & Profession
• [Job title, employer, industry — factual only]
• [Career stage, notable professional context, side work or business if any]
• [Upcoming professional changes, retirement timing if discussed personally]

Family & Relationships
• [Spouse/partner name and any relevant personal context]
• [Children — first names, ages or life stage, what they do, notable personal
  circumstances mentioned in meetings]
• [Extended family dynamics mentioned in conversation — parents, siblings,
  in-laws — only where personally relevant, not estate-planning relevant]

Personal Interests & Hobbies
• [Activities, passions, hobbies mentioned in meetings]
• [Travel, sports, music, community involvement, faith, volunteer work]
• [Anything the client lights up about — rapport-building material]

Personal Characteristics & Communication Style
• [How they make decisions — methodical, spontaneous, consensus-driven]
• [Communication preferences — call frequency, email vs. phone, detail level]
• [How they engage in meetings — do they come prepared, ask a lot of questions,
  need time to process, bring a spouse who drives the conversation, etc.]

Lifestyle & Life Stage
• [Where they live, any relocation plans or considerations]
• [Retirement vision — where, doing what, with whom]
• [Health or lifestyle factors mentioned personally (not medically)]
• [Values and priorities expressed in their own words across meetings]

─────────────────────────────────────────
Recent Meeting Summaries
─────────────────────────────────────────

[For each of the most recent 3 qualifying meetings, formatted as:]

[Date] — [Meeting Title] ([duration if available])
Primary Focus: [One sentence describing the main topic]

Key Discussion Points:
• [Bullet — specific, factual, include numbers where present]
• [Bullet]
• [Bullet]
• [Continue for all material points — do not truncate]

─────────────────────────────────────────
Planning Topics Summary
─────────────────────────────────────────

[Source: Zocks meeting summaries across all meetings reviewed. Synthesize and
consolidate by topic — do not repeat the same item under multiple headings.
Include only headings where actual content exists. If nothing was discussed
under a heading, omit that heading entirely. Bullets should be concise and
specific — include dollar amounts, dates, and names where present.]

Retirement Planning
• [Bullet — e.g., income projections, Social Security timing, pension details,
  retirement date targets, distribution strategy, account drawdown sequencing]

Tax Planning
• [Bullet — e.g., Roth conversions, capital gains strategy, loss harvesting,
  QCDs, estimated payments, year-end planning actions discussed]

Estate Planning
• [Bullet — e.g., beneficiary updates, trust structure, gifting, power of attorney,
  property transfer, inheritance equalization, family loan arrangements]

Cash Flow
• [Bullet — e.g., income sources, expense concerns, debt payoff goals, savings
  rate, liquidity needs, major upcoming expenditures]

─────────────────────────────────────────
Conversation Starters
─────────────────────────────────────────

Topics to guide discussion based on previous meetings and outstanding action items:

• [Action item or open question — phrased as a follow-up prompt, not a statement]
• [Continue for all open items identified across meeting summaries]
• [Prioritize items that were explicitly flagged as next steps or unresolved]

Status: [One sentence characterizing where this client relationship stands and
what the primary focus of the upcoming meeting should be.]
```

---

## Output Delivery

Produce the memo as a Word document (.docx) using docx-js. Follow the docx skill
for all document creation mechanics.

**Document formatting specs:**
- Page size: US Letter (12240 × 15840 DXA), 1-inch margins
- Font: Arial throughout
- Title ("MEETING PREP"): Bold, 18pt, centered
- Client name line and Prepared date: 11pt, centered, below title
- Section headers (Account Summary, RMD Summary, etc.): Bold, 12pt, with a single
  bottom border line as a visual divider — do not use heading styles, use styled
  paragraphs with a bottom border
- Body text: 11pt
- Tables: full content width (9360 DXA), light gray borders (CCCCCC), header row
  shaded light blue (D5E8F0, ShadingType.CLEAR), cell padding on all sides
- Bullet points: use LevelFormat.BULLET with numbering config — never unicode bullets
- Currency values: right-aligned in table cells
- "SLEEVED" model cells: yellow highlight shading (FFFF00, ShadingType.CLEAR) to
  flag registrations with multiple models assigned across accounts
- No table of contents

**File naming and save location:**
- Filename: `[ClientLastName]_MeetingPrep_[YYYY-MM-DD].docx`
- Save to: `~/Claude Cowork/Orion Performance Data/Meeting Prep/`
  (create the `Meeting Prep` subfolder if it does not exist)

**After saving:**
- Confirm the file was saved and display the full path
- Display a plain-text summary of the memo contents inline in the conversation
  so Neal can review without opening the file

---

## Tone & Style

- Write for Neal as the advisor — this is an internal working document, not client-facing
- **Personal Background & Talking Points** is a relationship briefing, not a planning
  summary. Financial details (account values, tax strategies, RMD amounts) belong in
  the Meeting Summaries section — never here. This section should read like notes a
  good advisor would review to remember who this person is before walking in the door:
  their family, what they care about, how they communicate, what connects them to you.
  Specific, personal, and human — sourced entirely from Zocks.
- Meeting summaries should be faithful to what was actually discussed — include dollar
  amounts, rates, dates, and names where present in the Zocks data
- Conversation Starters should be phrased as questions or prompts, not declarative
  statements — they are agenda-setting tools
- CFP-level terminology throughout: RMDs, QCD, basis, NII, IRMAA, etc. — no hedging

---

## Edge Cases

| Situation | Action |
|---|---|
| Client not found in Zocks | Report clearly; ask if name may be under a different spelling or spouse's name |
| Client found in Zocks but no meetings on file | Complete memo with spreadsheet data; note "No meeting history on file in Zocks" in the Recent Meeting Summaries section |
| No matching rows in accounts spreadsheet | Note in Account Summary: "No accounts found in Orion data for this household — verify name match" |
| No RMDs for this client | Leave RMD section blank (header only) |
| Fewer than 3 qualifying meetings | Use what is available; do not pad with non-client meetings |
| AI summary thin or missing for a meeting | Pull transcript for that meeting; if transcript also unavailable, note it and skip |
| Ambiguous name match in spreadsheet | Display matching names found and ask Neal to confirm the correct household before extracting data |
| Multiple accounts in same registration ID | Aggregate 12/31 Values, sum YTD Distributions, calculate RMD as combined value ÷ factor — display as one row |
| Household ID mismatch between spreadsheets | Before producing the memo, verify that the household name and ID used to filter the Accounts spreadsheet matches the household name and ID used to filter the RMD spreadsheet. If the same client appears under different names or IDs across the two files (e.g., "McBane, Lachlan" vs. "Lachlan McBane" or different account ID prefixes), flag the discrepancy and ask Neal to confirm the correct match before proceeding |